<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

// 首页
Route::get('', 'Index/index')->append(['catid' => 1]);

// 中心概况
Route::get('center', 'center/index')->append(['catid' => 2]);

// 工作人员查询
Route::get('staff', 'center/staff');

// 联系我们
Route::get('contact', 'center/contact');

// 政策解读
Route::get('policy', 'policy/index')->append(['catid' => 23]);

// 留学资讯
Route::get('news', 'news/index')->append(['catid' => 20]);

// 留学就业
Route::get('job', 'job/index')->append(['catid' => 5]);

// 人才交流
Route::get('exchange', 'exchange/index')->append(['catid' => 6]);

// 留学指南
Route::get('guide', 'guide/index')->append(['catid' => 7]);

// 教育培训
Route::get('train', 'train/index')->append(['catid' => 8]);

// 证书查询
Route::get('cert', 'train/cert')->append(['catid' => 100]);

// 证书查询提交
Route::post('certSubmit', 'train/certSubmit');

// 资讯详情
Route::get('detail/:id', 'news/detail');

// 资讯查询
Route::get('search', 'news/search');